# -*- encoding:utf-8 -*-
"""
@作者：jiajun_Tang
@文件名：QMyDialog.py
@时间：2023/4/4  下午 04:16
@文档说明:
"""

from PyQt5.QtWidgets import QGraphicsView, QDialog
from PyQt5.QtCore import pyqtSignal, QPoint


class QMyDialog(QDialog):
    def __init__(self, parent=None):
        super(QMyDialog, self).__init__(parent)
        self.flag = True

    def closeEvent(self, evt):
        self.flag = False
        QDialog.closeEvent(self, evt)
